package com.nsqt.biz.service;

import com.nsqt.biz.domain.WorksDO;

import java.util.List;
import java.util.Map;

/**
 * 作品
 */
public interface WorksService {
    WorksDO get(Integer id);

    WorksDO getBySn(String sn);

    List<WorksDO> list(Map<String, Object> map);

    List<WorksDO> listExcel(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(WorksDO works);

    int update(WorksDO works);

    int remove(Integer id);

    int approval(Integer id);

    int batchRemove(Integer[] ids);
}
